package com.jdrx.ocp.beans.constans;

/**
 * 角色类型
 * @Author: Huangxg
 * @Date: 2018/11/20 15:27
 */
public enum ERoleType {
    /**
     * 1 用户 ； 2 运维
     */
    USER("用户",1),
    OPS("运维",2),
    /**合并兼容处理**/
    LEADER(0,"领导角色"),
    STAFF(1,"业务角色");

    String value;
    Integer key;

    ERoleType(String value, Integer key){
        this.value = value;
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Integer getKey() {
        return key;
    }

    public void setKey(Integer key) {
        this.key = key;
    }
	

    private Integer type;
    private String desc;

    ERoleType(Integer type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
	
}
